package com.qiantu.api.entity;

import java.util.List;
import java.util.Map;

public class SceneAutoCreateInfo {
    private String sceneName;
    private String image;
    private List<AutoCreateTask> task;
    private int state = 0;//0 未创建；1：已创建；2：创建中；3:创建失败

    public static class AutoCreateTask{
        private String device;
        private int deviceType;
        private Map action;
        private int num;
        private String searchType;
        private String searchKey;
        private String other_operation;
        private Map other_action;

        public String getDevice() {
            return device;
        }

        public void setDevice(String device) {
            this.device = device;
        }

        public int getDeviceType() {
            return deviceType;
        }

        public void setDeviceType(int deviceType) {
            this.deviceType = deviceType;
        }

        public Map getAction() {
            return action;
        }

        public void setAction(Map action) {
            this.action = action;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getSearchType() {
            return searchType;
        }

        public void setSearchType(String searchType) {
            this.searchType = searchType;
        }

        public String getSearchKey() {
            return searchKey;
        }

        public void setSearchKey(String searchKey) {
            this.searchKey = searchKey;
        }

        public String getOther_operation() {
            return other_operation;
        }

        public void setOther_operation(String other_operation) {
            this.other_operation = other_operation;
        }

        public Map getOther_action() {
            return other_action;
        }

        public void setOther_action(Map other_action) {
            this.other_action = other_action;
        }
    }

    public String getSceneName() {
        return sceneName;
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public List<AutoCreateTask> getTask() {
        return task;
    }

    public void setTask(List<AutoCreateTask> task) {
        this.task = task;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }


}
